<!DOCTYPE html>
<html>
<head>
<!-- <link rel="stylesheet" type="text/css" href="main.css"> -->
<title>
			<?php
			if ($row [title]) {
				echo $row [title];
			} else {
				echo "Page not found";
			}
			?>
		</title>
</head>
<body>
	<div>
		<a href="<?php echo 'admin/edit_page.php?id='.$pid; ?>">Edit page</a>
	</div>
	<?php include("topmenu.php")?>
		<?php
		if ($row [content]) {
			echo $row [content];
		} else {
			echo "Page not found";
		}
		?>
	</body>
</html>